$(function(){
$("tab").click(function(){
	var label = this.label, simple = $("#objtab-simple, #objtab-simple > *"), name = $("#objdesc-name");
	var help = $("#objdesc-help"), oalert = $("#objdesc-alert"), helpalert = $("#objdesc-helpalert");
	
	name.val(label);
	
	if (label == "Box" || label == "Pyramid") { simple.not().show();
	} else if (label == "Base") { simple.not("").show();
});

});